import { useNavigate } from 'react-router-dom';
const navigate = useNavigate()
export default navigate